package com.hbu.product.hbumallproduct.feign;

import com.hbu.common.TO.SkuReductionTO;
import com.hbu.common.TO.SpuBoundTO;
import com.hbu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;


/**
 * @author 90458
 */
@FeignClient("coupon")
public interface CouponFeignService {

    @RequestMapping(value = "/coupon/spubounds/save", method = RequestMethod.POST)
    R saveSpuBounds(@RequestBody SpuBoundTO spuBound);

    @RequestMapping(value = "/coupon/skufullreduction/saveInfo", method = RequestMethod.POST)
    R saveSkuReduction(@RequestBody SkuReductionTO skuReduction);
}
